package com.wqz.utils;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.*;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString

@JsonSerialize

public class MessageJson {
    private String code;
    private String message;
    private Object data;

    public MessageJson(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
